package com.hmall.api.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Collection;

/**
 * @author zzw
 * @date 2025/6/17
 * @description 购物车远程调用接口
 */

@FeignClient(name = "cart-service", path = "inner/carts")
public interface CartClient {
    @DeleteMapping
    void deleteCartItemByIds(@RequestParam("userId") Long userId, @RequestParam("ids") Collection<Long> ids);
}

